{extend name="layout" /}
{block name="css"}
<link rel="stylesheet" href="/static/style/admin.css" media="all">{/block}
{block name="title"}基本配置{/block}
{block name="content"}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">基本配置</div>
                <div class="layui-card-body" pad15>

                    <div class="layui-form" wid100 lay-filter="">
                        <div class="layui-form-item">
                            <label class="layui-form-label">服务器地址 (URL)</label>
                            <div class="layui-input-block">
                                <input type="text" name="url" value="{$value.url|default=''}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">身份标识 (AppId)</label>
                            <div class="layui-input-block">
                                <input type="text" name="appId" value="{$value.appId|default=''}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">身份密钥 (AppSecret)</label>
                            <div class="layui-input-block">
                                <input type="text" name="appSecret" value="{$value.appSecret|default=''}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">令牌 (Token)</label>
                            <div class="layui-input-block">
                                <input type="text" name="token" value="{$value.token|default=''}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">消息加解密密钥 (EncodingAESKey)</label>
                            <div class="layui-input-block">
                                <input type="text" name="encodingAESKey" value="{$value.encodingAESKey|default=''}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input type="hidden" name="id" value="{$key}">
                                <button class="layui-btn" lay-submit lay-filter="set_system">确认保存</button>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="module"}'set'{/block}